<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:include="include/header_css::header('编辑-行情走势')"></head>
<body>
	<div id="dpLTE" class="container-fluid" v-cloak>
		<table class="form" id="form">
			<tr>
	            <td class="formTitle">类别<font face="宋体">*</font></td>
	            <td class="formValue">
					<div id="Category">
						<select id="oneCategory" @change="oneCategory_select">
                       	 	<!-- <option value="">请选择</option> -->
                    	</select>
                    	<select id="twoCategory" @change="twoCategory_select">
                        	<option value="">请选择</option>
                    	</select>
					</div>
	            </td>
        	</tr>
			<!-- <tr>
	            <td class="formTitle">厂名<font face="宋体">*</font></td>
	            <td class="formValue">
	               <div id="Category">
                        <select id="factory" @change="factory_select">
                            <option value="">请选择</option>
                        </select>
                    </div>
	            </td>
        	</tr> -->
        	<tr>
                <td class="formTitle">厂名<font face="宋体">*</font></td>
                <td class="formValue">
                    <div id="Category">
                   		<div type="text" class="form-control" id="txtSelectName" @click="factory_show" >{{quotationtrend.name}}</div>
                   		 <ul id="factoryList">
                   		 	<li class="first">
                   		 	关键字搜索：<input type="text" v-model="quotationtrend.selectName" v-on:keyup.enter="search"/>
                   		 	<button @click="search($event)">搜索</button>
                   		 	</li>
                   			<li v-for="item in factoryName" :id="item.id" :value="item.name" @click="factory_select($event)">{{item.name}}</li>
                   		</ul> 
                    </div>
                </td>
            </tr>
        	<tr>
                <td class="formTitle">标题<font face="宋体">*</font></td>
                <td class="formValue">
                    <input type="text" class="form-control" placeholder="标题" v-model="quotationtrend.title" isvalid="yes" checkexpession="NotNull">
                </td>
            </tr>
			<tr>
	            <td class="formTitle">作者<font face="宋体">*</font></td>
	            <td class="formValue">
					<input type="text" class="form-control" placeholder="作者" v-model="quotationtrend.author" isvalid="yes" checkexpession="NotNull">
	            </td>
        	</tr>
			<tr>
                <td class="formTitle">可用</td>
                <td class="formValue">
                    <label class="radio-inline">
                        <input type="radio" name="status" value="1" v-model="quotationtrend.status"/> 正常
                    </label>
                    <label class="radio-inline">
                        <input type="radio" name="status" value="2" v-model="quotationtrend.status"/> 禁用
                    </label>
                </td>
            </tr>
            <tr>
                <td class="formTitle">是否置顶</td>
                <td class="formValue">
                    <label class="radio-inline">
                        <input type="radio" name="setTop" value="1" v-model="quotationtrend.setTop"/> 是
                    </label>
                    <label class="radio-inline">
                        <input type="radio" name="setTop" value="2" v-model="quotationtrend.setTop"/> 否
                    </label>
                </td>
            </tr>
			<tr>
	            <td class="formTitle">来源<font face="宋体">*</font></td>
	            <td class="formValue">
					<input type="text" class="form-control" placeholder="来源" v-model="quotationtrend.source" isvalid="yes" checkexpession="NotNull">
	            </td>
        	</tr>
			<tr>
	            <td class="formTitle">内容<font face="宋体">*</font></td>
	            <td class="formValue">
					<!-- <input type="text" class="form-control" placeholder="内容" v-model="quotationtrend.content" isvalid="yes" checkexpession="NotNull"> -->
					<script id="editor"  type="text/plain" style="width:590px;height:300px; float: left;">
					</script>
	            </td>
        	</tr>
		</table>
		<div style="display:none;" id="introdution" v-model="contentStr"></div>
	</div>
    <div th:include="include/footer_js::footer"></div>
    <script th:src="@{/statics/js/base/quotationtrend/edit.js}"></script>
</body>
</html>